package com.example.demo.modules.customDefine.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.modules.customDefine.entity.UserType;

import java.util.List;

public interface UserTypeService extends IService<UserType>{

    /**
     * 查询所有
     * @return
     */
    List<UserType> listAll(QueryWrapper queryWrapper);

	/**
     * id条件查询
     * @return
     */
    UserType listOne(Long id);

    /***
     * 保存
     * @param userType
     * @return
     */
    int insert(UserType userType);

}